package com.worthtech.billportal.bean;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

public class BillInfoOracle implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7620748584746524425L;
	private String bill_orgcode;
	private String bill_snddate;
	private long bill_stan;
	private String bill_ipadr;
	private long bill_mtype;
	private String bill_msgtype;
	private String bill_type;
	private String bill_sndtime;
	private String bill_zone;
	private String bill_callno;
	private String bill_expdt;
	private String bill_rvcode;
	private String bill_mercode;
	private long bill_txamt;
	private long bill_hintlen;
	private String bill_hintmsg;
	private long bill_signlen;
	private String bill_signmsg;
	private String bill_status;
	private String bill_retmode;
	private String bill_paycode;
	private long bill_retnum;
	private long bill_sndnum;
	private long bill_litnum;
	private long bill_dltime;
	private String bill_opflag;
	private Date bill_protime;
	private String bill_rcvdate;
	
	public String getBill_callno() {
		return bill_callno;
	}
	public void setBill_callno(String bill_callno) {
		this.bill_callno = bill_callno;
	}
	public long getBill_dltime() {
		return bill_dltime;
	}
	public void setBill_dltime(long bill_dltime) {
		this.bill_dltime = bill_dltime;
	}
	public String getBill_expdt() {
		return bill_expdt;
	}
	public void setBill_expdt(String bill_expdt) {
		this.bill_expdt = bill_expdt;
	}
	public long getBill_hintlen() {
		return bill_hintlen;
	}
	public void setBill_hintlen(long bill_hintlen) {
		this.bill_hintlen = bill_hintlen;
	}
	public String getBill_hintmsg() {
		return bill_hintmsg;
	}
	public void setBill_hintmsg(String bill_hintmsg) {
		this.bill_hintmsg = bill_hintmsg;
	}
	public String getBill_ipadr() {
		return bill_ipadr;
	}
	public void setBill_ipadr(String bill_ipadr) {
		this.bill_ipadr = bill_ipadr;
	}
	public long getBill_litnum() {
		return bill_litnum;
	}
	public void setBill_litnum(long bill_litnum) {
		this.bill_litnum = bill_litnum;
	}
	public String getBill_mercode() {
		return bill_mercode;
	}
	public void setBill_mercode(String bill_mercode) {
		this.bill_mercode = bill_mercode;
	}
	public String getBill_msgtype() {
		return bill_msgtype;
	}
	public void setBill_msgtype(String bill_msgtype) {
		this.bill_msgtype = bill_msgtype;
	}
	public long getBill_mtype() {
		return bill_mtype;
	}
	public void setBill_mtype(long bill_mtype) {
		this.bill_mtype = bill_mtype;
	}
	public String getBill_opflag() {
		return bill_opflag;
	}
	public void setBill_opflag(String bill_opflag) {
		this.bill_opflag = bill_opflag;
	}
	public String getBill_orgcode() {
		return bill_orgcode;
	}
	public void setBill_orgcode(String bill_orgcode) {
		this.bill_orgcode = bill_orgcode;
	}
	public String getBill_paycode() {
		return bill_paycode;
	}
	public void setBill_paycode(String bill_paycode) {
		this.bill_paycode = bill_paycode;
	}
	public Date getBill_protime() {
		return bill_protime;
	}
	public void setBill_protime(Date bill_protime) {
		this.bill_protime = bill_protime;
	}
	public String getBill_retmode() {
		return bill_retmode;
	}
	public void setBill_retmode(String bill_retmode) {
		this.bill_retmode = bill_retmode;
	}
	public long getBill_retnum() {
		return bill_retnum;
	}
	public void setBill_retnum(long bill_retnum) {
		this.bill_retnum = bill_retnum;
	}
	public String getBill_rvcode() {
		return bill_rvcode;
	}
	public void setBill_rvcode(String bill_rvcode) {
		this.bill_rvcode = bill_rvcode;
	}
	public long getBill_signlen() {
		return bill_signlen;
	}
	public void setBill_signlen(long bill_signlen) {
		this.bill_signlen = bill_signlen;
	}
	public String getBill_signmsg() {
		return bill_signmsg;
	}
	public void setBill_signmsg(String bill_signmsg) {
		this.bill_signmsg = bill_signmsg;
	}
	public String getBill_snddate() {
		return bill_snddate;
	}
	public void setBill_snddate(String bill_snddate) {
		this.bill_snddate = bill_snddate;
	}
	public long getBill_sndnum() {
		return bill_sndnum;
	}
	public void setBill_sndnum(long bill_sndnum) {
		this.bill_sndnum = bill_sndnum;
	}
	public String getBill_sndtime() {
		return bill_sndtime;
	}
	public void setBill_sndtime(String bill_sndtime) {
		this.bill_sndtime = bill_sndtime;
	}
	public long getBill_stan() {
		return bill_stan;
	}
	public void setBill_stan(long bill_stan) {
		this.bill_stan = bill_stan;
	}
	public String getBill_status() {
		return bill_status;
	}
	public void setBill_status(String bill_status) {
		this.bill_status = bill_status;
	}
	public long getBill_txamt() {
		return bill_txamt;
	}
	public void setBill_txamt(long bill_txamt) {
		this.bill_txamt = bill_txamt;
	}
	public String getBill_type() {
		return bill_type;
	}
	public void setBill_type(String bill_type) {
		this.bill_type = bill_type;
	}
	public String getBill_zone() {
		return bill_zone;
	}
	public void setBill_zone(String bill_zone) {
		this.bill_zone = bill_zone;
	}
	public String getBill_rcvdate() {
		return bill_rcvdate;
	}
	public void setBill_rcvdate(String bill_rcvdate) {
		this.bill_rcvdate = bill_rcvdate;
	}
	
	public boolean equals(Object object){
		if(!(object instanceof BillInfoOracle)){
			return false;
		}
		BillInfoOracle bio = (BillInfoOracle)object;
		return new EqualsBuilder()
		.appendSuper(super.equals(object))
		.append(this.bill_orgcode,bio.bill_orgcode)
		.append(this.bill_snddate,bio.bill_snddate)
		.append(this.bill_stan,bio.bill_stan)
		.isEquals();
	}
	
	public int hashCode(){
		return new HashCodeBuilder(-528253723,-475504089)
		.appendSuper(super.hashCode())
		.append(this.bill_orgcode)
		.append(this.bill_snddate)
		.append(this.bill_stan)
		.toHashCode();
	}

}
